/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package reader;

import java.util.LinkedList;

/**
 *
 * @author Administrator
 */
public class Question {

    private int number;
    private String textOfQuestion;

    LinkedList<Answer> listOfAnswers = new LinkedList<Answer>();

    public Question() {
    }

    public Question(int number, String textOfQuestion) {
        this.number = number;
        this.textOfQuestion = textOfQuestion;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getTextOfQuestion() {
        return textOfQuestion;
    }

    public void setTextOfQuestion(String textOfQuestion) {
        this.textOfQuestion = textOfQuestion;
    }

    

}
